package com.dao;
import com.model.Judge;
import com.utils.DatabaseOperations;
import com.utils.DatabaseOperationsImp;
import com.utils.JdbcUtils;
import java.sql.*;
public class FootballTeamDao extends DatabaseOperations implements DatabaseOperationsImp{
    String table="football_team";
    String[] nations={"id","name","address","formed","people_sum","coach_id"};
    public String[][] browsingData() {
        return super.browsingData(table);
    }

    public boolean addData(String[] columnName, String[] str) {
        return super.addData(table, columnName, str);
    }

    public boolean deleteData(String columnName, String newData) {


        return super.deleteData(table, columnName, newData);
    }

    public boolean updateData(String columnName, String newData, String index, String idValue) {


        return super.updateData(table, columnName, newData, index, idValue);
    }

    public String[][] queryData(String index, String idValue) {
        return super.queryData(table, index, idValue);
    }

    public String[] nationsV(String item) {
        return super.nationsV(table, item);
    }
    public String[] getNations(){
        return this.nations;
    }
}
